package com.atguigu.tingshu.common.annotation.login;

import java.lang.annotation.*;

/**
 * 登录校验注解
 * @author Haoran Sun
 * @since 2024/08/16
 */

@Documented()
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface LoginRequired {

    boolean isLoginRequired() default true;

}
